package com.xl98.service;

import com.xl98.entity.State;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author ls
 * @since 2020-05-15
 */
public interface StateService extends IService<State> {
    //查询所有状态信息
    List<State> findAllState();
    boolean insert(State state);
    boolean update(State state);
    boolean delete(String id);
    boolean updateUserState(String userId,String stateId);
    boolean updateAppointmentState(String appointmentId, String stateId);
}
